import { createSlice } from "@reduxjs/toolkit"

const cart = createSlice({
    name: 'cart',
    initialState: {
        historyList:[],
        num: 1
    },

    reducers: {
        addList(state,actions) {
            
        },
        addNum(state) {

        }
    }
})

export const { addList, addNum } = cart.actions
export default cart.reducer
